<template>
    <div>
        验证码 ：<input type="text" v-model="phoneinfo.password">
        <button @click="loginPhones">登录</button>
    </div>
</template>

<script>

import {loginPhone } from 'api/login/login'
export default {
    name:'',
    data() {
        return {
           phoneinfo:{
             phone: '18838982892',
             password: 'yhx19980417'
           }
        };
    },
    methods:{
      loginPhones(){

        loginPhone(this.phoneinfo).then(res => {
          console.log(res)
        })
      }
    }
};
</script>

<style scoped lang="scss">

</style>
